package com.test.burnincash.activity_fragment_burnin;

import android.os.Bundle;

import com.test.burnincash.R;
import com.test.burnincash.activity_fragment_burnin.base_burnin.BaseActivity_burnin;
import com.test.burnincash.activity_fragment_burnin.base_burnin.BaseApplication_burnin;
import com.test.burnincash.util_burnin.analytics_burnin.util_burnin.AnalyticsUtil_burnin;
import com.test.burnincash.view_burnin.widget_burnin.TitleView_burnin;

public class UsagePermissionGuideActivity_burnin extends BaseActivity_burnin {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_usage_permission_guide_burnin);
        init();
    }

    private void init(){
        TitleView_burnin titleView = findViewById(R.id.activity_usage_permission_guide_view_title);
        setBackBtn_burnin(titleView.getBackIb());

        findViewById(R.id.activity_usage_permission_guide_btn_next).setOnClickListener(v -> {
            AnalyticsUtil_burnin.INSTANCE.startToUsageStatsPermissionSettingPage(BaseApplication_burnin.getApplication_burnin());
            finish();
        });
    }

}